//
//  SCB_Today_TodayContentModel.m
//  Time
//
//  Created by dllo on 16/7/14.
//  Copyright © 2016年 司昌宝. All rights reserved.
//

#import "SCB_Today_TodayContentModel.h"
#import "TodayContent.h"

@implementation SCB_Today_TodayContentModel

-(void)dealloc{
    [_type release];
    [_typeName release];
    [_date release];
    [_pubdate release];
    [_todayContent release];
    [_tingContent release];
    [super dealloc];
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"content"]){
        self.todayContent = [[TodayContent alloc] init];
        [self.todayContent setValuesForKeysWithDictionary:value];
    }
    if ([key isEqualToString:@"tingInfo"]){
        self.tingContent = [[TingContent alloc] init];
        [self.tingContent setValuesForKeysWithDictionary:value];
    }
}

@end
